import os

dirname = 'C:/Python24/Lib/site-packages/win32'
files = os.listdir(dirname)
files = filter(lambda file:file.endswith("_orders.txt"), files)

for file in files:
    f = open(dirname+"/"+file, 'a')
    f.writelines(["\n","\n"])
    f.close()